package com.study.extend_constructor2;

public class Test {
    public static void main(String[] args) {
        Wolf wolf = new Wolf("狼",20,"抓羊");
        System.out.println(wolf.getName()+wolf.getAge()+wolf.getHabbit());
    }
}
